﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPP.Core.Dtos
{
    public class WorkerRegisterRequest
    {
        [Required(ErrorMessage = "手机号不能为空")]
        [RegularExpression(@"^1[3-9]\d{9}$", ErrorMessage = "请输入正确的手机号")]
        public string Phone { get; set; } = string.Empty;

        public string? VerifyCode { get; set; }
    }
}
